'use strict';

angular.module('afasApp')
.filter('localTime', ['$filter', function ($filter) {
  return function (val) {
    var dt = new Date(val);
    // 'undo' the timezone offset again (so we end up on the original date again)
    // dt.setMinutes(dt.getMinutes() + dt.getTimezoneOffset());
    return dt;
    // return dt;
  };
}]);